package com.qk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.dto.ClueDto;
import com.qk.entity.Clue;
import com.qk.vo.OverviewVO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ClueMapper extends BaseMapper<Clue> {
    /**
     * 线索列表
     */
    Page<Clue> listClues(Page<Clue> cluePage, ClueDto clueDto);

    /**
     * 获取线索
     */
    Clue getClueById(Integer id);

    /**
     * 获取线索总览数据
     * @return 线索总览数据
     */
    OverviewVO getClueOverviewData();
}
